package request

type TmallServicecenterWorkerTaglistGetRequest struct {
	/*
	   工人注册勤鸽时的身份证     */
	IdNumber *string `json:"id_number" required:"true" `
	/*
	   工人注册勤鸽时的手机号码     */
	Mobile *string `json:"mobile" required:"true" `
}

func (s *TmallServicecenterWorkerTaglistGetRequest) SetIdNumber(v string) *TmallServicecenterWorkerTaglistGetRequest {
	s.IdNumber = &v
	return s
}
func (s *TmallServicecenterWorkerTaglistGetRequest) SetMobile(v string) *TmallServicecenterWorkerTaglistGetRequest {
	s.Mobile = &v
	return s
}

func (req *TmallServicecenterWorkerTaglistGetRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.IdNumber != nil {
		paramMap["id_number"] = *req.IdNumber
	}
	if req.Mobile != nil {
		paramMap["mobile"] = *req.Mobile
	}
	return paramMap
}

func (req *TmallServicecenterWorkerTaglistGetRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
